<?php self::include_block('my/main_nav'); ?>

<div id="mainContainer">    
    <div class="layout">
        <?php self::include_block('my/resume/lefter'); ?>
        <div class="right">
            <div id="resumeInfo">
                <!--右导航栏-->
                <?php self::include_block('my/right_nav'); ?>
                
                <div class="rightRow1">请在页面下方"新增培训课程"处填写新的培训课程。 <span class="warning">培训经历最多只能添加3个</span>。要更改或删除某项培训课程，请按"编辑"或"删除"链接。</div>
                <!-- 已添加的培训经历 -->
                <table class="table1" border="0" cellpadding="0" cellspacing="0" width="770">
                    <thead>
                        <tr>
                            <th class="noLine" width="4"><img src="<?php self::media_url('new_v4/row2TL.jpg'); ?>" height="24" width="4"></th>
                            <th width="250">培训机构</th>
                            <th width="150">时间</th>
                            <th width="260">培训课程</th>
                            <th width="100">&nbsp;</th>
                            <th class="noLine" width="4"><img src="<?php self::media_url('new_v4/row2TR.jpg'); ?>" height="24" width="4"></th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr>
                            <td colspan="6" style="border-left:1px solid #B9B9D3;border-right:1px solid #B9B9D3" valign="top">
                                <table class="table6" border="0" cellpadding="0" cellspacing="0" width="760">
                                    <tbody>
                                         <?php if ($list !== null): ?>
                                            <?php foreach ($list as $training): ?>
                                                 <tr>
                                                   <td width="250" align="left" class="tab6Td1"><?php echo $training->name; ?></td>
                                                   <td width="150"><?php echo training_model::format_time($training->start_time); ?>---<?php echo training_model::format_time($training->end_time);  ?></td>
                                                   <td width="260"><?php echo $training->course; ?></td>
                                                   <td width="100"><a class="blue12line" href="<?php self::php_url('my-training/edit?id=' . $id . '&training_id=' . $training->id); ?>">编辑</a>  |  <a class="blue12line del" href="javascript:void(0);" >删除</a> <input type="hidden" name="url" value="<?php self::csrf_url('user', 'my-training/do_del?id=' . $id . '&training_id=' . $training->id); ?>" /></td>
                                                 </tr>
                                           <?php endforeach; ?>
                                        <?php endif; ?>
                                    </tbody>
                                </table>
                            </td>
                        </tr>
                    </tbody>
                    <tfoot>
                        <tr>
                            <td height="4"><img src="<?php self::media_url('new_v4/row1BL.gif'); ?>" height="4" width="4"></td>
                            <td colspan="4" background="<?php self::media_url('new_v4/row1BBg.gif'); ?>"></td>
                            <td><img src="<?php self::media_url('new_v4/row1BR.gif'); ?>" height="4" width="4"></td>
                        </tr>
                    </tfoot>
                </table>
                
                <!--培训经历表单-->
                <?php self::include_block('my/training_form'); ?>
                
                <?php self::include_block('my/training_help_txt'); ?>
                
            </div>
        </div>
    </div>
</div>

